Stop dh_makeshlibs thinking that the LD_PRELOAD module libreaddir-rand.so (part of...
authorSimon McVittie <smcv@debian.org>
Sat, 19 Mar 2016 17:33:52 +0000 (17:33 +0000)
committerSimon McVittie <smcv@debian.org>
Sat, 19 Mar 2016 17:33:52 +0000 (17:33 +0000)
debian/changelog
debian/rules

index f69b823fa7263b5cd69f909953b21b28b90c2772..7ce8f80c57a62f1ec533f2652bc62471c0c9bba4 100644 (file)
@@ -34,6 +34,8 @@ ostree (2016.3-1) UNRELEASED; urgency=medium
   * Add patch to fix underlinking of test-archive
   * Add patch to skip one build-time test if /var/tmp cannot support xattrs,
     for example if it is on tmpfs
+  * Stop dh_makeshlibs thinking that the LD_PRELOAD module libreaddir-rand.so
+    (part of the tests) is meant to be a shared library
 
  -- Simon McVittie <smcv@debian.org>  Wed, 27 Jan 2016 13:04:34 +0100
 
index 3a19733143e854f952ce7b74d2cb7a8639855e42..675d885bc0d775cfc74208cbaae2d228eff09c96 100755 (executable)
@@ -29,6 +29,10 @@ override_dh_install:
        rm -f debian/tmp/usr/lib/ostree/installed-tests/*.la
        dh_install --fail-missing
 
+override_dh_makeshlibs:
+       # this is an LD_PRELOAD, not a real shared library
+       dh_makeshlibs -Xostree/installed-tests/libreaddir-rand.so
+
 override_dh_fixperms:
        dh_fixperms -X'*.js'
        chmod -v +x debian/tmp/usr/lib/ostree/installed-tests/*.js